#include "CrossRoadsSensor.hpp"
#include "Hardware.hpp"

/**
 * In absence of threads we'll have to poll each sensor manually
 * This method should only return true when the robot is on cross roads
 */
bool CrossRoadsSensor::poll()
{
	return Hardware::getHardwareController().pollCrossRoadsSensor();
}

Sensor::SensorType CrossRoadsSensor::getSensorType()
{
	return Sensor::CROSSROADS;
}
